@layout("/common/_container.html"){
<div class="layui-card" xmlns:c="http://www.w3.org/1999/XSL/Transform">
    <div class="layui-card-body">
        <div class="layui-form form-board" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin">
            <input type="hidden" id="id" name="id" value="${item.id}">

            <div class="layui-form-item">
                <div class="layui-block">
                    <label class="layui-form-label">手机号</label>
                    <div class="layui-input-block">
                        <input type="text" name="phone" id="phone" value="${item.phone}"
                               lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">状态</label>
                <div class="layui-input-block">
                    <select name="status" id="status">
                        <!--<option value="" ${item.status == "" ? "selected" : ""}>全部</option>-->
                        <option value="0" ${item.status == 0 ? "selected" : ""}>允许使用</option>
                        <option value="1" ${item.status == 1 ? "selected" : ""}>禁用</option>
                    </select>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-block">
                    <label class="layui-form-label">姓名</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" id="name" value="${item.name}"
                               lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-block">
                    <label class="layui-form-label">邮箱</label>
                    <div class="layui-input-block">
                        <input type="text" name="email" id="email" value="${item.email}"
                               lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-block">
                    <label class="layui-form-label">生日</label>
                    <div class="layui-input-block">
                        <input type="text" name="birth" id="birth" value="${day}"
                               lay-verify="required"  autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item layui-hide">
                <input type="button" lay-submit lay-filter="eleFence-submit" id="eleFence-submit" value="确认">
            </div>


        </div>
    </div>
</div>

<script>
  layui.config({
	 base: Feng.ctxPath + '/static/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form','laydate'], function() {
      var $ = layui.$
          , form = layui.form
          , laydate = layui.laydate;


      laydate.render({
          elem: '#birth'
          ,showBottom: false
      });
  })
  </script>
@}

